DWGNAME
 
 
 
Quick Reference
See Also
(Read-only)
Type: String
Saved in: Not-saved
Initial value: Drawing1.dwg

Stores the name of the current drawing.

If a new drawing has not been saved yet, DWGNAME defaults to Drawing1.dwg. Additional new drawings are named Drawing2.dwg, Drawing3.dwg, and so on.

If you specified a drive and folder prefix, the prefix is stored in DWGPREFIX.